Alexr\Models\Restaurant A

Total Complexity 56
Dependencies 13
Dependents 37
Total lines 360
Lines of code 215
Logical lines of code 105
Comment lines 60
Methods 29
Properties 4

Methods 29

Method Rating Maintainability Complexity Lines of code
getMapIframeAttribute()
S
62 5 11
getSeatsOccupied()
S
56 3 19
getTablesOccupied()
S
56 3 19
getTablesTotal()
S
64 3 10
getVipColorCustomerAttribute()
S
64 3 10
getVipColorBookingAttribute()
S
64 3 10
getSeatsTotal()
S
64 3 10
notify()
S
65 3 10
getLatitudeAttribute()
S
69 2 7
setLongitudeAttribute()
S
68 2 8
getLongitudeAttribute()
S
69 2 7
setLatitudeAttribute()
S
68 2 8
setReservationPolicyAttribute()
S
68 2 8
getReservationPolicyAttribute()
S
69 2 7
setNoteFromUsAttribute()
S
68 2 8
getNoteFromUsAttribute()
S
69 2 7
getLogoImgAttribute()
S
69 2 7
users()
S
71 1 5
getSoundUrlAttribute()
S
80 1 3
getCountBookingsAttribute()
S
74 1 5
notifications()
S
79 1 3
metaKeyOnlineBookings()
S
79 1 3
isOnlineBookingsEnabled()
S
75 1 4
enableOnlineBookings()
S
76 1 4
disableOnlineBookings()
S
75 1 4
getCountCustomersAttribute()
S
74 1 5
getCountUsersAttribute()
S
74 1 5
booted()
S
74 1 5
bookings()
S
80 1 3